package com.personal.pojo;

public class TAdmin {
    private Integer adminid;

    private String logname;

    private String password;

    private Integer adminrole;
    private TRole trole;

    public Integer getAdminrole() {
        return adminrole;
    }

    public void setAdminrole(Integer adminrole) {
        this.adminrole = adminrole;
    }

    public TRole getTrole() {
        return trole;
    }

    public void setTrole(TRole trole) {
        this.trole = trole;
    }

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    public String getLogname() {
        return logname;
    }

    public void setLogname(String logname) {
        this.logname = logname == null ? null : logname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    @Override
    public String toString() {
        return "TAdmin{" +
                "adminid=" + adminid +
                ", logname='" + logname + '\'' +
                ", password='" + password + '\'' +
                ", adminrole=" + adminrole +
                ", troles=" + trole +
                '}';
    }
}